<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head th:replace="fragment :: common_header(~{::title},~{::script},~{},~{})">
    <title>系统出错啦~~~</title>
    <script type="text/javascript">
        var second = 5;
        $(function () {
            var inteval = setInterval(function () {
                if (second == 0) {
                    clearInterval(inteval);
                    console.log(second);
                    sendToLogin();
                }
                $("#second").text(second--);
            }, 1000);

        })
    </script>
</head>
<body>
<div class="bg-info center-block"
     style="width:500px;height:300px;position: absolute; top: 40%; left: 50%;transform: translate(-50%, -50%);padding-top:50px;">
    <h1 align="center">o(╥﹏╥)o</h1><br/><br/>
    <h4 align="center" th:text="${result.message}">错误信息</h4>
    <h4 align="center"><span id="second">6</span>秒后自动跳转，如果没有自动跳转<a href="javascript:sendToLogin();" style="color:red;">请点这里</a>
    </h4>
</div>
</body>
</html>